package com.smartstate.IOC.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("objmiddle")
public class ObjMiddle {

    /**
     * 主键ID
     */
    @TableId(type = IdType.INPUT)
    @TableField(value = "ID", fill = FieldFill.INSERT)
    private String id;

    /**
     * 楼宇id
     */
    @ApiModelProperty(value = "楼宇id")
    @TableField(value = "NAME", fill = FieldFill.INSERT)
    private String objId;

    /**
     * 设备id
     */
    @ApiModelProperty(value = "设备id")
    @TableField(value = "CODE", fill = FieldFill.INSERT)
    private String deviceId;
}
